<?php

class Eleven_Form_Exchange_Post extends Zend_Form
{
	public function init()
	{
		$this->addElement('text', 'title', array(
			'required'		=> true,
			'label'			=> '文章标题：',
		));
		
		$this->addElement('textarea', 'content', array(
			'required'		=> true,
		));
		
		$this->addElement('submit', '发布', array(
			'required'		=> true,
			'ignore'		=> true,
		));
	}

}

?>